package com.tarena.lbs.basic.web.service;

import com.tarena.lbs.basic.web.repository.AreaRepository;
import com.tarena.lbs.pojo.basic.bo.AreaBO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreaService {
    @Autowired
    private AreaRepository areaRepository;
    public List<AreaBO> queryAreaList(Long parentId) {
        return areaRepository.queryAreaList(parentId);
    }
}
